var should = require('should');
var starHandler = require('../../../app/servers/copy/handler/starHandler');
var config = require('../../config');

suite('测试starHandler', function () {
    suite('reward', function () {
        test('星星奖励', function (done) {
            var msg = {};
            msg.main_copy_id = 101;
            msg.box_position = 1;
            var session = {};
            session.uid = config.other_role_id;

            var star_handler = new starHandler();
            star_handler.reward(msg, session, function (err, res) {
                done();
            });
        });

        test('星星奖励', function (done) {
            var msg = {};
            var session = {};
            session.uid = config.other_role_id;

            var star_handler = new starHandler();
            star_handler.reward(msg, session, function (err, res) {
                done();
            });
        });
    });
});
